home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: app_defs.sys
- Date: Fri, 29 Jul 94 15:01:43 BST
- From: C.J.Ridd@computer-science.birmingham.ac.uk
- Precedence: bulk
-
- Ofir wrote:
- >I don't think we need application specific stuff. This makes it incredibly
- >difficult to write an app-defs editor. Why complicate things. I think we
- >just need to list the shortcuts in the proposal and allow the user to
- >change them.
-
- Well, Warwick's already volunteered to write one, so all we have to do
- is figure out an interesting syntax for him to parse :-)
-
- Also, why have a 'two-level' situation, where you get some stuff from
- the magic file, and hardwire the rest? If the implementation is
- clever, eg via a standard cookie function pointer (just like
- Selectric, CKBD, NVDI, etc, etc), there's no point you implementing
- both systems.
-
- I suggest we use the application's base name for the application-name,
- similarly to the resource file name. Also, the name should be
- case-sensitive (and lowercase if on a TOS FS); this won't affect TOS
- filesystem searches, but will help MinixFS users. Besides, it looks
- prettier :-)
-
- David Oakley wrote:
- >The .Xdefaults file's way of specifying shift keys if very sensible:
- >
- ><Ctrl>Q
- ><Shift><Ctrl>P
- ><Alt>A
-
- Good idea. Except we shouldn't be using <Alt>, of course...
-
- >This is all up for debate but things like that are usually saved in the
- >program's own preferences file, and I take it that APP_DEFS conforming
- >programs will not use their own preference files: Am I right or wrong?
-
- I think you're right. We can extend Warwick's list to include license
- keys, and we could also include a directory attribute (for temp
- directories, etc):
-
- >Name Values
- >------ ------
- >key std keyname, or scancode, or blank for no binding
- >text String of ascii characters, delimited by end-of-line
- >name String of ascii characters, delimited by end-of-line
- >num Decimal number in ascii, 0xHexadecimal number
- >geometry [ Width "x" Height ] [ "+" Xoffset "+" Yoffset ] - all in decimal.
- >file Filename in ascii, extension gives clue to type. (full path only?)
- >font <fontname>@<fontsize>
- >color Colour name or hex specification (other?)
- >flag yes/on/true/oui/ja/1, no/off/false/non/nein/0
-
- license String of ascii characters, delimited by end-of-line
- directory Directory name in ascii, trailing slash
-
- Rick Flashman wrote:
- >I disagree. Programs like Geneva and NeoDesk keep a substancial amount of
- >additional information (everything from a program_flag list for Geneva to
- >dialog_positions for NeoDesk). I doubt you would want an APP_DEFS file
- >overwhelmed by all that application specific stuff.
-
- Would there be a problem with having:
- geneva.prefs.file c:\geneva\geneva.inf
- or something similar?
-
- And we also need to specify the standard keyname:
- Esc Tab Bksp Ret Del Help Undo Home Ins F1 .. F10 Ent
-
- Did we decide how to represent Numeric-pad characters in the menu or
- file?
-
- The colour attribute is interesting. Maybe we could have a palette
- handler that could map colour names ("brown") to VDI colour triples or
- pens?
-
- --Chris
-
- X.400: g=chris;s=ridd;o=nhs imc;ou1=cosit;a=attmail;p=nhs imc;c=gb
- Cix: chrisridd@cix
-
-